package com.westos.userauth.dao.mybatis;

import com.westos.userauth.domain.SecurityGroup;
import com.westos.userauth.domain.SecurityPermission;
import com.westos.userauth.domain.UserLoginSecurityGroup;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface SecurityGroupDAO {
    //添加登录到权限组(liuhao)
    int addUserLoginToSecurityGroup(UserLoginSecurityGroup userLoginSecurityGroup);

    //创建权限组(liuhao)
    int createSecurityGroup(SecurityGroup securityGroup);

    //删除权限组 王实
    int deleteSecurityGroup(String groupId);

    //修改权限组 (张鹏程)
    int updateSecurityGroup(SecurityGroup securityGroup);

    //查询权限组（刘浩）
    SecurityGroup querySecurityGroupById(@Param("securityGroupId") String securityGroupId);


}
